{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}E:\Presidential Appointments Project (with AJO)\Manuscripts\Measurement\Data Materials\STATISTICAL ANALYSIS OF COMPARING BONICA MATCHED OBSERVATIONS.03-22-2016.Table 3.Measurement Manuscript.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}22 Mar 2016, 17:58:20
{txt}
{com}. 
.    
. 
. **** PROGRAM USED TO "PARE DOWN" O'CONNELL-KRAUSE APPONTEE BIOGRAPHICAL DATABASE TO MATCH CORRESPONDING OBSERVATIONS IN ADAM BONICA'S "DIME" DATABASE ***  
. *** OBSERVATIONS CUT DOWN FROM 1,372 OBSERVATIONS [O'CONNELL-KRAUSE] DOWN TO 584 "MATCHING" BONICA OBSERVATIONS [192 IRC OBSERRVATIONS; 392 EXECUTIVE BRANCH AGENCY OBSERVATIONS]***
. 
. 
. use "E:\Presidential Appointments Project (with AJO)\Manuscripts\Measurement\Data Materials\Measurement Database.Bayesian GLTA MODEL 23FBIT.05-30-2015.Bonica Comparison Database.03-21-2016.STATISTICAL ANALYSIS.dta", clear
{txt}
{com}. 
. *
. *
. *
. *
. *
. *
. 
. 
. *** CONVERGENT VALIDITY ANALYSIS: REGRESS BONICA'S ABSOLUTE IDEOLOGICAL DISTANCE BETWEEN PRESIDENT AND AGENCY LEADER [|PRES.IP -- CFSCORE|] ON NORMALIZED (Z-TRANSFORMATION) BAYESIAN POSTERIOR MEDIAN LOYALTY SCORE ESTIMATE ***  
. 
. regress presagencyleaderabsdist zloyalmedian

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       584
{txt}{hline 13}{c +}{hline 34}   F(1, 582)       = {res}   150.97
{txt}       Model {c |} {res} 36.9033303         1  36.9033303   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res} 142.263331       582  .244438712   {txt}R-squared       ={res}    0.2060
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.2046
{txt}       Total {c |} {res} 179.166661       583  .307318458   {txt}Root MSE        =   {res} .49441

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}presagency~t{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
zloyalmedian {c |}{col 14}{res}{space 2}-.2561931{col 26}{space 2} .0208507{col 37}{space 1}  -12.29{col 46}{space 3}0.000{col 54}{space 4}-.2971448{col 67}{space 3}-.2152414
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}  .404525{col 26}{space 2} .0206884{col 37}{space 1}   19.55{col 46}{space 3}0.000{col 54}{space 4}  .363892{col 67}{space 3} .4451579
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. *
. 
. *** ESTIMATE AS LOG-GAMMA REGRESSION MODEL GIVEN THAT THE ABSOLUTE IDEOLOGICAL DISTANCE MEASURE SUFFERS FROM SEVEREK SKEWNEWSS *** 
. 
. sum presagencyleaderabsdist,  detail

                    {txt}ABS(CFSCORE-PRES.IP)
{hline 61}
      Percentiles      Smallest
 1%    {res}  .001519       .0001917
{txt} 5%    {res} .0107717       .0006999
{txt}10%    {res} .0244683        .000981       {txt}Obs         {res}        584
{txt}25%    {res} .0621636       .0011083       {txt}Sum of Wgt. {res}        584

{txt}50%    {res} .1457705                      {txt}Mean          {res} .3667546
                        {txt}Largest       Std. Dev.     {res} .5543631
{txt}75%    {res} .3386119       2.351119
{txt}90%    {res} 1.293688       2.433568       {txt}Variance      {res} .3073185
{txt}95%    {res} 1.870073       2.451018       {txt}Skewness      {res} 2.233415
{txt}99%    {res}   2.2799        2.54192       {txt}Kurtosis      {res} 6.946669
{txt}
{com}. *
. sktest presagencyleaderabsdist
{res}
{col 21}{txt}Skewness/Kurtosis tests for Normality
{col 59}{hline 6} joint {hline 6}
{col 5}Variable {c |}        Obs  Pr(Skewness)  Pr(Kurtosis) adj chi2(2)   Prob>chi2
{hline 13}{c +}{hline 63}
presagency~t {c |}{res}{col 16}       584{col 31}0.0000{col 45}0.0000{col 54}        .{col 72}0.0000
{txt}
{com}. swilk  presagencyleaderabsdist

                   {txt}Shapiro-Wilk W test for normal data

    Variable {c |}        Obs{col 33}W{col 45}V{col 55}z       Prob>z
{hline 13}{c +}{hline 54}
presagency~t {c |} {res}       584    0.62770    144.082    12.031    0.00000
{txt}
{com}. sfrancia presagencyleaderabsdist, boxcox

{txt}{col 19}Shapiro-Francia W' test for normal data

    Variable {c |}       Obs{col 32}W'{col 44}V'{col 54}z       Prob>z
{hline 13}{c +}{hline 53}
presagency~t {c |}{res}       584    0.62798    153.838    10.093    0.00001
{txt}
{com}. *
. glm presagencyleaderabsdist zloyalmedian, family(gamma) link(log)
{res}
{txt}Iteration 0:{space 3}log likelihood = {res: 75.783243}  
Iteration 1:{space 3}log likelihood = {res: 110.94756}  
Iteration 2:{space 3}log likelihood = {res: 111.09698}  
Iteration 3:{space 3}log likelihood = {res: 111.09702}  
Iteration 4:{space 3}log likelihood = {res: 111.09702}  
{res}
{txt}Generalized linear models{col 51}No. of obs{col 67}={col 69}{res}       584
{txt}Optimization     : {res}ML{txt}{col 51}Residual df{col 67}={col 69}{res}       582
{col 20}{txt}{col 51}Scale parameter{col 67}={col 70}{res} 1.888976
{txt}Deviance{col 18}={res}{col 20} 894.8201933{txt}{col 51}(1/df) Deviance{col 67}={res}{col 70} 1.537492
{txt}Pearson{col 18}={res}{col 20}  1099.38413{txt}{col 51}(1/df) Pearson{col 67}={res}{col 70} 1.888976

{txt}Variance function: {res}V(u) = {col 27}u^2{col 51}{txt}[{res}Gamma{txt}]
Link function    : {res}g(u) = {col 27}ln(u){col 51}{txt}[{res}Log{txt}]

{col 51}{help j_glmic##|_new:AIC}{col 67}={res}{col 70}-.3736199
{txt}Log likelihood{col 18}= {res} 111.0970169{txt}{col 51}{help j_glmic##|_new:BIC}{col 67}={res}{col 70}-2812.462

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 25}{c |}{col 37}      OIM
{col 1}presagencyleaderabsdist{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      z{col 57}   P>|z|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}zloyalmedian {c |}{col 25}{res}{space 2}-.5268028{col 37}{space 2} .0470775{col 48}{space 1}  -11.19{col 57}{space 3}0.000{col 65}{space 4}-.6190729{col 78}{space 3}-.4345326
{txt}{space 18}_cons {c |}{col 25}{res}{space 2}-1.112569{col 37}{space 2}  .057295{col 48}{space 1}  -19.42{col 57}{space 3}0.000{col 65}{space 4}-1.224865{col 78}{space 3}-1.000272
{txt}{hline 24}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. 
. 
. *** ESTIMATE PAIRWISE BIVARIATE CORRELATIONS BETWEEN BONICA'S ABSOLUTE IDEOLOGICAL DISTANCE BETWEEN PRESIDENT AND AGENCY LEADER [|PRES.IP -- CFSCORE|] & BOTH LATENT TRAIT LOYALTY SCORE ESTIMATES NOTED ABOVE ***
. 
. pwcorr presagencyleaderabsdist zloyalmedian, sig

             {txt}{c |} presag~t zloyal~n
{hline 13}{c +}{hline 18}
presagency~t {c |} {res}  1.0000 
             {txt}{c |}
             {c |}
zloyalmedian {c |} {res} -0.4538   1.0000 
             {txt}{c |}{res}   0.0000
             {txt}{c |}

{com}. 
. 
. 
. ************************************************************************************************************************************************************************************************************************************
. ************************************************************************************************************************************************************************************************************************************
. ************************************************************************************************************************************************************************************************************************************
. 
. 
. 
. 
. *** CONTENT VALIDITY ANALYSIS OF BONICA ABSOLUTE IDEOLOGICAL DISTANCE MEASURE AND LOYALTY MANIFEST INDICATOR VARIABLES THAT COMPRISE THE LOYALTY LATENT TRAIT ***
. 
. 
. ** REGRESS BONICA'S ABSOLUTE IDEOLOGICAL DISTANCE BETWEEN PRESIDENT AND AGENCY LEADER [|PRES.IP -- CFSCORE|] ON "ELECT1B", "PARTY2B", "MONEY", "PAEPA2", "GOVSERV", & "PTYORG2" MANIFEST INDICATORS ***  
. 
. regress presagencyleaderabsdist elect1bmodel23fbit party2bmodel23fbit moneymodel23fbit paepa2model23fbit govservmodel23fbit ptyorg2model23fbit

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       562
{txt}{hline 13}{c +}{hline 34}   F(6, 555)       = {res}    90.55
{txt}       Model {c |} {res} 76.0359775         6  12.6726629   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res} 77.6773743       555  .139959233   {txt}R-squared       ={res}    0.4947
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.4892
{txt}       Total {c |} {res} 153.713352       561  .273998845   {txt}Root MSE        =   {res} .37411

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}presagencyleader~t{col 20}{c |}      Coef.{col 32}   Std. Err.{col 44}      t{col 52}   P>|t|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
elect1bmodel23fbit {c |}{col 20}{res}{space 2}  .025844{col 32}{space 2} .0512565{col 43}{space 1}    0.50{col 52}{space 3}0.614{col 60}{space 4}-.0748364{col 73}{space 3} .1265243
{txt}party2bmodel23fbit {c |}{col 20}{res}{space 2}-1.075492{col 32}{space 2} .0514629{col 43}{space 1}  -20.90{col 52}{space 3}0.000{col 60}{space 4}-1.176577{col 73}{space 3}-.9744058
{txt}{space 2}moneymodel23fbit {c |}{col 20}{res}{space 2}  -.11916{col 32}{space 2} .0344347{col 43}{space 1}   -3.46{col 52}{space 3}0.001{col 60}{space 4}-.1867983{col 73}{space 3}-.0515218
{txt}{space 1}paepa2model23fbit {c |}{col 20}{res}{space 2} .0429467{col 32}{space 2} .0677878{col 43}{space 1}    0.63{col 52}{space 3}0.527{col 60}{space 4}-.0902053{col 73}{space 3} .1760986
{txt}govservmodel23fbit {c |}{col 20}{res}{space 2} -.007067{col 32}{space 2} .0990926{col 43}{space 1}   -0.07{col 52}{space 3}0.943{col 60}{space 4}-.2017094{col 73}{space 3} .1875754
{txt}ptyorg2model23fbit {c |}{col 20}{res}{space 2}-.0291156{col 32}{space 2} .0242625{col 43}{space 1}   -1.20{col 52}{space 3}0.231{col 60}{space 4}-.0767732{col 73}{space 3}  .018542
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 1.339304{col 32}{space 2} .0461326{col 43}{space 1}   29.03{col 52}{space 3}0.000{col 60}{space 4} 1.248688{col 73}{space 3} 1.429919
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. 
. ** JOINT CHI-SQUARE EXCLUSION TEST RESTRICTIONS: NULL EFFECTS ATTRIBUTABLE TO SHARED 'PARTISAN OREINTATION' EFFECTS **
. 
. test party2bmodel23fbit=moneymodel23fbit=0

{p 0 7}{space 1}{text:( 1)}{space 1} {res}party2bmodel23fbit - moneymodel23fbit = 0{p_end}
{p 0 7}{space 1}{text:( 2)}{space 1} party2bmodel23fbit = 0{p_end}

{txt}       F(  2,   555) ={res}  249.22
{txt}{col 13}Prob > F ={res}    0.0000
{txt}
{com}. 
. ** JOINT CHI-SQUARE EXCLUSION TEST RESTRICTIONS: NULL EFFECTS ATTRIBUTABLE TO SHARED 'FEALTY' EFFECTS **
. 
. test elect1bmodel23fbit=paepa2model23fbit=govservmodel23fbit=ptyorg2model23fbit=0

{p 0 7}{space 1}{text:( 1)}{space 1} {res}elect1bmodel23fbit - paepa2model23fbit = 0{p_end}
{p 0 7}{space 1}{text:( 2)}{space 1} elect1bmodel23fbit - govservmodel23fbit = 0{p_end}
{p 0 7}{space 1}{text:( 3)}{space 1} elect1bmodel23fbit - ptyorg2model23fbit = 0{p_end}
{p 0 7}{space 1}{text:( 4)}{space 1} elect1bmodel23fbit = 0{p_end}

{txt}       F(  4,   555) ={res}    0.46
{txt}{col 13}Prob > F ={res}    0.7683
{txt}
{com}. 
. 
. 
. 
. *** ESTIMATE AS LOG-GAMMA REGRESSION MODEL GIVEN THAT THE ABSOLUTE IDEOLOGICAL DISTANCE MEASURE SUFFERS FROM SEVEREK SKEWNEWSS *** 
. 
. glm presagencyleaderabsdist party2bmodel23fbit moneymodel23fbit elect1bmodel23fbit paepa2model23fbit govservmodel23fbit ptyorg2model23fbit, family(gamma) link(log)
{res}
{txt}Iteration 0:{space 3}log likelihood = {res: 202.55576}  
Iteration 1:{space 3}log likelihood = {res: 215.12739}  
Iteration 2:{space 3}log likelihood = {res: 215.13312}  
Iteration 3:{space 3}log likelihood = {res: 215.13312}  
{res}
{txt}Generalized linear models{col 51}No. of obs{col 67}={col 69}{res}       562
{txt}Optimization     : {res}ML{txt}{col 51}Residual df{col 67}={col 69}{res}       555
{col 20}{txt}{col 51}Scale parameter{col 67}={col 70}{res}   1.8063
{txt}Deviance{col 18}={res}{col 20} 705.1503487{txt}{col 51}(1/df) Deviance{col 67}={res}{col 70} 1.270541
{txt}Pearson{col 18}={res}{col 20} 1002.496477{txt}{col 51}(1/df) Pearson{col 67}={res}{col 70}   1.8063

{txt}Variance function: {res}V(u) = {col 27}u^2{col 51}{txt}[{res}Gamma{txt}]
Link function    : {res}g(u) = {col 27}ln(u){col 51}{txt}[{res}Log{txt}]

{col 51}{help j_glmic##|_new:AIC}{col 67}={res}{col 70}-.7406873
{txt}Log likelihood{col 18}= {res} 215.1331236{txt}{col 51}{help j_glmic##|_new:BIC}{col 67}={res}{col 70}-2808.833

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 25}{c |}{col 37}      OIM
{col 1}presagencyleaderabsdist{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      z{col 57}   P>|z|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}party2bmodel23fbit {c |}{col 25}{res}{space 2}-1.650323{col 37}{space 2} .1868625{col 48}{space 1}   -8.83{col 57}{space 3}0.000{col 65}{space 4}-2.016567{col 78}{space 3}-1.284079
{txt}{space 7}moneymodel23fbit {c |}{col 25}{res}{space 2}-.4877519{col 37}{space 2} .1275607{col 48}{space 1}   -3.82{col 57}{space 3}0.000{col 65}{space 4}-.7377663{col 78}{space 3}-.2377375
{txt}{space 5}elect1bmodel23fbit {c |}{col 25}{res}{space 2} .0653963{col 37}{space 2} .1855693{col 48}{space 1}    0.35{col 57}{space 3}0.725{col 65}{space 4}-.2983128{col 78}{space 3} .4291054
{txt}{space 6}paepa2model23fbit {c |}{col 25}{res}{space 2} .0760458{col 37}{space 2} .2430534{col 48}{space 1}    0.31{col 57}{space 3}0.754{col 65}{space 4}-.4003301{col 78}{space 3} .5524218
{txt}{space 5}govservmodel23fbit {c |}{col 25}{res}{space 2}-.0112134{col 37}{space 2} .3582037{col 48}{space 1}   -0.03{col 57}{space 3}0.975{col 65}{space 4}-.7132798{col 78}{space 3} .6908529
{txt}{space 5}ptyorg2model23fbit {c |}{col 25}{res}{space 2}-.1238428{col 37}{space 2} .0864041{col 48}{space 1}   -1.43{col 57}{space 3}0.152{col 65}{space 4}-.2931917{col 78}{space 3} .0455062
{txt}{space 18}_cons {c |}{col 25}{res}{space 2} .2902518{col 37}{space 2} .1655989{col 48}{space 1}    1.75{col 57}{space 3}0.080{col 65}{space 4} -.034316{col 78}{space 3} .6148197
{txt}{hline 24}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. 
. ** JOINT CHI-SQUARE EXCLUSION TEST RESTRICTIONS: NULL EFFECTS ATTRIBUTABLE TO SHARED 'PARTISAN OREINTATION' EFFECTS **
. 
. test party2bmodel23fbit=moneymodel23fbit=0

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[presagencyleaderabsdist]party2bmodel23fbit - [presagencyleaderabsdist]moneymodel23fbit = 0{p_end}
{p 0 7}{space 1}{text:( 2)}{space 1} [presagencyleaderabsdist]party2bmodel23fbit = 0{p_end}

{txt}{col 12}chi2(  2) ={res}  115.66
{txt}{col 10}Prob > chi2 =  {res}  0.0000
{txt}
{com}. 
. ** JOINT CHI-SQUARE EXCLUSION TEST RESTRICTIONS: NULL EFFECTS ATTRIBUTABLE TO SHARED 'FEALTY' EFFECTS **
. 
. test elect1bmodel23fbit=paepa2model23fbit=govservmodel23fbit=ptyorg2model23fbit=0

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[presagencyleaderabsdist]elect1bmodel23fbit - [presagencyleaderabsdist]paepa2model23fbit = 0{p_end}
{p 0 7}{space 1}{text:( 2)}{space 1} [presagencyleaderabsdist]elect1bmodel23fbit - [presagencyleaderabsdist]govservmodel23fbit = 0{p_end}
{p 0 7}{space 1}{text:( 3)}{space 1} [presagencyleaderabsdist]elect1bmodel23fbit - [presagencyleaderabsdist]ptyorg2model23fbit = 0{p_end}
{p 0 7}{space 1}{text:( 4)}{space 1} [presagencyleaderabsdist]elect1bmodel23fbit = 0{p_end}

{txt}{col 12}chi2(  4) ={res}    2.19
{txt}{col 10}Prob > chi2 =  {res}  0.7010
{txt}
{com}. 
. 
. 
. 
. 
. *** ESTIMATE SPEARMAN RANK RHO BIVARIATE CORRELATIONS BETWEEN BONICA'S ABSOLUTE IDEOLOGICAL DISTANCE BETWEEN PRESIDENT AND AGENCY LEADER [|PRES.IP -- CFSCORE|] & ALL SIX LOYALTY MANIFEST INDICATORS NOTED ABOVE ***
. 
. spearman presagencyleaderabsdist elect1bmodel23fbit party2bmodel23fbit moneymodel23fbit paepa2model23fbit govservmodel23fbit ptyorg2model23fbit, stats(rho p)
{txt}(obs=562)

{c TLC }{hline 17}{c TRC}
{c |}  Key{col 19}{c |}
{c LT }{hline 17}{c RT}
{c |}  {it: rho}{col 19}{c |}
{c |}  {it: Sig. level}{col 19}{c |}
{c BLC }{hline 17}{c BRC}

             {c |} presag~t elect1~t party2~t moneym~t paepa2~t govser~t ptyorg~t
{hline 13}{c +}{hline 63}
presagency~t {c |} {res}  1.0000 
             {txt}{c |} 
             {c |}
elect1bmod~t {c |} {res} -0.0572   1.0000 
             {txt}{c |} {res}  0.1761 
             {txt}{c |}
party2bmod~t {c |} {res} -0.4444   0.0930   1.0000 
             {txt}{c |} {res}  0.0000   0.0275 
             {txt}{c |}
moneymodel~t {c |} {res} -0.3178   0.0059   0.2376   1.0000 
             {txt}{c |} {res}  0.0000   0.8897   0.0000 
             {txt}{c |}
paepa2mode~t {c |} {res} -0.0392  -0.0077   0.0911   0.0979   1.0000 
             {txt}{c |} {res}  0.3532   0.8550   0.0308   0.0203 
             {txt}{c |}
govservmod~t {c |} {res} -0.0356  -0.0318   0.0604   0.1068  -0.0414   1.0000 
             {txt}{c |} {res}  0.3993   0.4513   0.1527   0.0113   0.3277 
             {txt}{c |}
ptyorg2mod~t {c |} {res} -0.1676   0.3978   0.2234   0.1796   0.0460   0.0715   1.0000 
             {txt}{c |} {res}  0.0001   0.0000   0.0000   0.0000   0.2764   0.0902 
             {txt}{c |}

{com}. 
. 
. 
. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}E:\Presidential Appointments Project (with AJO)\Manuscripts\Measurement\Data Materials\STATISTICAL ANALYSIS OF COMPARING BONICA MATCHED OBSERVATIONS.03-22-2016.Table 3.Measurement Manuscript.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}22 Mar 2016, 17:58:20
{txt}{.-}
{smcl}
{txt}{sf}{ul off}